package com.zy.yun.base.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 角色-组织表
 * </p>
 *
 * @author 王彦委
 * @since 2019-11-10
 */
@TableName("sys_role_organization")
@ApiModel(value="RoleOrganization对象", description="角色-组织表")
public class RoleOrganization implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色")
    @TableField("roleId")
    private Long roleId;

    @ApiModelProperty(value = "组织")
    @TableField("organizationId")
    private Long organizationId;

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
    public Long getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(Long organizationId) {
        this.organizationId = organizationId;
    }

    @Override
    public String toString() {
        return "RoleOrganization{" +
            "roleId=" + roleId +
            ", organizationId=" + organizationId +
        "}";
    }
}
